Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Boat (USV) in SITL gazebo #14132

Merged
merged 1 commit into from
Feb 21, 2020
Merged

Conversation

Jaeyoung-Lim
Copy link
Member

@Jaeyoung-Lim Jaeyoung-Lim commented Feb 10, 2020

Describe problem solved by this pull request
Recently there has been interest on using PX4 on USV (unmanned surface vehicle) systems. This PR adapts the usv_dynamics plugin from the vrx simulation and integrates the boat simulation into px4 SITL.

As PX4 does not officially support boats yet, I hope this PR becomes a initial step towards supporting such applications.

Describe your solution
Integrate usv_dynamics plugin from the vrx into px4/sitl_gazebo

Test Data Coverage
The video below shows the WAM-V vehicle being controlled in manual mode.
ezgif com-video-to-gif(4)
Video: link

Additional context
Implementation in PX4/PX4-SITL_gazebo-classic#409

@Jaeyoung-Lim Jaeyoung-Lim changed the title Pr boat Add support for Boat (USV) in SITL gazebo Feb 10, 2020
@LorenzMeier
Copy link
Member

Try setting up a new rover configs for it. It should just work.

@Jaeyoung-Lim
Copy link
Member Author

Jaeyoung-Lim commented Feb 20, 2020

Here is the log of the boat trying to do mission: log

It seems like the assumption rover was making

  • Velocity is always in the direction of heading
  • Steering input translates to lateral acceleration

Makes the boat position controller get into those oscillations. I tried tuning the vehicle, but the region where the oscillation stops make the tracking extremely laggy.

Nevertheless, improvements in the rover position controller will come in a different PR, so not a deal breaker for this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants